# -*- mode: snippet -*-
# name: classtest
# key: clstest
# --
class ${1:Name} : public CppUnit::TestFixture
{
    CPPUNIT_TEST_SUITE(${1:$(yas/substr yas-text "[^: ]*")});
    CPPUNIT_TEST();
    CPPUNIT_TEST_SUITE_END();
public:
    ${1:$(yas/substr yas-text "[^: ]*")}();
    ${2:virtual ~${1:$(yas/substr yas-text "[^: ]*")}();}

    virtual void setUp();

    virtual void tearDown();
};$0